<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./../resources/css/stylesBasic.css" rel="stylesheet" type="text/css" />

        <title>Sistema de gestion veterinaria : VetXsoft</title>
    </h:head>

    <h:body>

        <p:layout style="min-width:400px;min-height:700px;" id="layout">  


            <p:layoutUnit position="north" size="100" header="Sistema de registro de ciudades : SRD" resizable="false" style="border-bottom: 0;">  

                <div class="derecha">

                    <h:outputLabel value="Usuario : #{authenticationBean.user}" /> <br/>
                    <h:form>
                        <h:commandLink value="Cerrar sesión" actionListener="#{authenticationBean.logout()}"/>
                    </h:form>
                </div>

            </p:layoutUnit> 


            <p:layoutUnit position="west" resizable="false" size="200" minSize="40" maxSize="600">   
                <div id="left" class="center_left" >
                    <ui:insert name="left" >

                        <p:menu style="border: 0; width: 95%;">
                            <p:submenu label="Opciones" style="width: 100%;" >
                                <p:menuitem value="Salir" icon="ui-icon-close"  url="../index.xhtml"/>  
                            </p:submenu>
                        </p:menu>

                    </ui:insert>
                </div>
            </p:layoutUnit>  

            <p:layoutUnit position="center" size="100"  minSize="4000" maxSize="6000" >  
                <div id="content" class="center_content">
                    <ui:insert name="content">

                    </ui:insert>
                </div>
            </p:layoutUnit>  

            <p:layoutUnit position="south" size="50"  >  
                <div id="sourth" class="centrado">
                    <h:outputText value="&copy; Jose Fary Hurtado Cuero " />
                    <h:outputText value= "2013" />
                </div>
            </p:layoutUnit>


        </p:layout> 
    </h:body>
</html>
